/*
 * BoundingBox.h
 *
 *  Created on: Apr 5, 2012
 *      Author: yunzhang
 */

#ifndef BOUNDINGBOX_H_
#define BOUNDINGBOX_H_

#include "header.h"

class BoundingBox{
public:
	BoundingBox(float3, float3);
	float3 getMin();
	float3 getMax();
	float3 getCenter();
	bool getFlag();
	void setFlag();
	float getxl();
	float getyl();
	float getzl();

private:
	float3 vmin;
	float3 vmax;
	float3 center;
	float x_length;
	float y_length;
	float z_length;
	bool flag;
};



#endif /* BOUNDINGBOX_H_ */
